/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

var msgTimer = false;

Ext.onReady(function(){
    Ext.get("divWelcome").load({
        url: "infomation/welcome.jsp", 
        text: "正在加载欢迎信息..."
   });
});
//Ext.onReady(ll);
function ll()
{
    Ext.Msg.alert('囧','欢迎你，livia')
    window.setTimeout(ll,1500);
}

Ext.onReady(function(){
    var mgr = new Ext.Updater("divHelp");
    mgr.update({
        url: "infomation/help.jsp", 
        text: "正在加载帮助信息..."
    });
    mgr.on("update", function(){
        panel.add({
            id:'helpTabId',
            //el:'divHelp',
            html:document.getElementById('divHelp').innerHTML,
            title:"帮助信息",
            closable:true,
            autoScroll:true
        });
    });
});

Ext.onReady(RefreshUserInfo);//加载用户个人信息
Ext.onReady(LoadRecentTopics);//加载最近发表的帖子

Ext.onReady(LoadFriends);//加载好友列表

   //     Ext.onReady(window.setTimeout(function(){alert('gg')},500));
